package com.ruoyi.cms.blog.service;

import com.ruoyi.cms.blog.domain.CmsAdvertised;
import com.ruoyi.cms.blog.domain.dto.CmsAdvertisedDTO;
import com.ruoyi.cms.blog.domain.vo.CmsAdvertisedVO;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

public interface ICmsAdvertisedService {
    List<CmsAdvertisedVO> list(CmsAdvertisedDTO dto);
    AjaxResult getOne(CmsAdvertised ca);
    AjaxResult insert(CmsAdvertisedDTO dto);
    AjaxResult update(CmsAdvertisedDTO ca);
    AjaxResult delete(Long id);

    AjaxResult topList(CmsAdvertisedDTO dto);

    AjaxResult getById(Long id);

    AjaxResult getUpdateId(Long id);

    AjaxResult updateTime(Long id);

    AjaxResult test(String zhou) throws Exception;

    AjaxResult test2();
}
